package com.wwtech.epp.ui.activity.work.contract;

import com.wwtech.epp.ui.activity.base.BasePresenter;
import com.wwtech.epp.ui.activity.base.BaseView;

import java.util.Map;

/**
 * @author hzp
 * @Package The contract for TaskDetailActivity
 * @Description: $description
 * @date 2017/10/10 10:58:33
 */
public interface TaskDetailContract {
    interface View extends BaseView<TaskDetailContractPresenter> {
        /**
         *
         */
        void showProgressDialog();

        /**
         *
         */
        void closeProgressDialog();

        void onAcceptTaskSuccess();

        void onFinishTashSuccess();
    }

    interface TaskDetailContractPresenter extends BasePresenter {
        void getTaskDetail(Map map);
        void finishTask(Map map);
        void acceptTask(Map map);
    }
}